Bind Browser

Command Prototype

hWeb = WebBrowser.BindBrowser(sType,iTimeOut,optionArgs)

Command Description

Bind an opened browser, so that Redot.ai can operate this browser. The bound browser can be IE, Chrome, FireFox. The function will return a string for the bound browser's handle if it runs successfully, and return null if failed

Parameter Description
Required Parameter
sType--Type of Browser
iTimeOut--Specify the time (in milliseconds) to wait for an activity to run before SelectorNotFoundException throws an error. The default is 10000 milliseconds (10 seconds)
Optional Parameter
bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values ​​(True, False). The default is False
iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds
return
hWeb--The variable used to save the output of the function call

results matching ""

    No results matching ""